fix: default explore/record output to ~/.opencli/ instead of cwd#720
fix: default explore/record output to ~/.opencli/ instead of cwd#720Astro-Han wants to merge 7 commits intojackwener:mainfrom
Conversation
4bffa0e to
e0990c4
Compare
9fde0e8 to
5898ca6
Compare
…kwener#711) Previously `explore` and `record` wrote artifacts to `.opencli/` relative to cwd, polluting project directories. Now they default to `~/.opencli/explore/<site>/` and `~/.opencli/record/<site>/`, consistent with `operate init` writing to `~/.opencli/clis/`. Changes: - explore: default outDir → ~/.opencli/explore/<site>/ - record: default outDir → ~/.opencli/record/<site>/ - synthesize: resolveExploreDir checks ~/.opencli/ first, cwd fallback - cli: add --out <dir> option to explore command Closes jackwener#711
Sync documentation with the new default output directory. Also improve resolveExploreDir error message with a hint for legacy artifact paths.
5898ca6 to
bafa89c
Compare
|
Closing as stale against current main. I re-checked the branch intent against the latest code, not just the PR title. This PR targets the removed top-level Given that the underlying command surface has been consolidated away, this patch no longer applies meaningfully to the current tree. If we want the same path-default behavior for the newer browser/network capture flow, that should come as a fresh PR against the current implementation rather than reviving this one. |
Description
exploreandrecordwrote artifacts to.opencli/relative to cwd, polluting project directories. This PR changes the default output to~/.opencli/explore/<site>/and~/.opencli/record/<site>/, consistent withoperate initwriting to~/.opencli/clis/.Also adds
--out <dir>option toexplore(already existed onrecord), updates all documentation references, and improvesresolveExploreDirerror message for legacy artifact paths.Related issue: #711
Type of Change
Checklist
Changes
src/explore.ts~/.opencli/explore/<site>/src/record.ts~/.opencli/record/<site>/src/synthesize.tsresolveExploreDirchecks~/.opencli/first, cwd fallback for legacy; improved error hintsrc/cli.ts--out <dir>option toexplorecommandCLI-EXPLORER.mdREADME.zh-CN.mddocs/developer/ai-workflow.mdskills/opencli-explorer/SKILL.mdskills/opencli-usage/plugins.mdScreenshots / Output